import 'dart:typed_data';

import 'package:camera/camera.dart';
import 'package:flutter/material.dart';
import 'package:wallet_utils/color.dart';

import '../../mine/bean/feedbackType.dart';

class IdentityCertificationState {
  String ak = 'gAd6UvlyHLyzETlNV636O0EP';
  String sk = 'HiIEKoN7tOZU2FxLEAakdgL2JkZ8ZNuB';
  late double percent=0;
  bool isComplete=true;
  late bool isAgreeUserPrivary=false;
  bool hasGotToken = false;
  bool idCardFront=false;
  bool idCardBack=false;
  bool proState=false;
  String proText='';
  late List<CameraDescription>? cameras;
  late CameraDescription firstCamera;
  late Uint8List idCardFrontImageBytes;
  late Uint8List idCardBackImageBytes;
  TextEditingController nameController=TextEditingController();
  TextEditingController cardController=TextEditingController();
  TextEditingController timeController=TextEditingController();
  TextEditingController placeController=TextEditingController();
  TextEditingController issuingAuthController=TextEditingController();
  TextEditingController nationController=TextEditingController();

  List<FeedbackTypeBean> list=[];
  IdentityCertificationState() {
    list.add(FeedbackTypeBean('1小时后', ColorManager.colorFFFFFF, ColorManager.colorD93C3A,ColorManager.colorD93C3A));
    list.add(FeedbackTypeBean('2小时后', ColorManager.colorF8F9FA, ColorManager.color333333,ColorManager.colorF8F9FA));
    list.add(FeedbackTypeBean('1天后', ColorManager.colorF8F9FA, ColorManager.color333333,ColorManager.colorF8F9FA));
  }
}
